﻿@model Adams.Public.DataTransfer.Web.Classifieds.Index.PageLoad
@{
    Layout = "~/Views/Shared/_ContentLayout.cshtml";
}
@section Head{
    <link href="/Content/Classifieds/index.css" rel="stylesheet" type="text/css" />
}
Home > Classifieds
<br />
<br />
<form action="/Classifieds/Search" method="get">
<input type="text" name="criteria" id="criteria" />
<input type="submit" value="Search" />
</form>
<ul class="types">
    @foreach (var typ in Model.Types)
    {
        <li><span class="typetitle">@typ.Name</span>
            <ul class="categories">
                @foreach (var cat in typ.Categories2)
                {
                    <li><span><a href="/classifieds/@typ.Name/@cat.Name">@cat.Name</a> (@cat.Postings)</span></li>
                }
            </ul>
        </li>
    }
</ul>
@section Scripts {
}
